<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: pcl::tracking::PointCoherence&lt; PointInT &gt; 模板类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classpcl_1_1tracking_1_1_point_coherence.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public 类型</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pro-methods">Protected 成员函数</a> &#124;
<a href="#pro-attribs">Protected 属性</a> &#124;
<a href="classpcl_1_1tracking_1_1_point_coherence-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">pcl::tracking::PointCoherence&lt; PointInT &gt; 模板类 参考<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p><b><a class="el" href="classpcl_1_1tracking_1_1_point_coherence.html" title="PointCoherence is a base class to compute coherence between the two points.">PointCoherence</a></b> is a base class to compute coherence between the two points.  
 <a href="classpcl_1_1tracking_1_1_point_coherence.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="coherence_8h_source.html">coherence.h</a>&gt;</code></p>
<div class="dynheader">
类 pcl::tracking::PointCoherence&lt; PointInT &gt; 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classpcl_1_1tracking_1_1_point_coherence.png" usemap="#pcl::tracking::PointCoherence_3C_20PointInT_20_3E_map" alt=""/>
  <map id="pcl::tracking::PointCoherence_3C_20PointInT_20_3E_map" name="pcl::tracking::PointCoherence_3C_20PointInT_20_3E_map">
<area href="classpcl_1_1tracking_1_1_distance_coherence.html" title="DistanceCoherence computes coherence between two points from the distance between them...." alt="pcl::tracking::DistanceCoherence&lt; PointInT &gt;" shape="rect" coords="0,56,275,80"/>
<area href="classpcl_1_1tracking_1_1_h_s_v_color_coherence.html" title="HSVColorCoherence computes coherence between the two points from the color difference between them...." alt="pcl::tracking::HSVColorCoherence&lt; PointInT &gt;" shape="rect" coords="285,56,560,80"/>
<area href="classpcl_1_1tracking_1_1_normal_coherence.html" title="NormalCoherence computes coherence between two points from the angle between their normals...." alt="pcl::tracking::NormalCoherence&lt; PointInT &gt;" shape="rect" coords="570,56,845,80"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public 类型</h2></td></tr>
<tr class="memitem:ae557226c7e8b042366b0685367e3ea31"><td class="memItemLeft" align="right" valign="top"><a id="ae557226c7e8b042366b0685367e3ea31"></a>
typedef boost::shared_ptr&lt; <a class="el" href="classpcl_1_1tracking_1_1_point_coherence.html">PointCoherence</a>&lt; PointInT &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Ptr</b></td></tr>
<tr class="separator:ae557226c7e8b042366b0685367e3ea31"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6047c87547f5eccc1a037797b0e526ec"><td class="memItemLeft" align="right" valign="top"><a id="a6047c87547f5eccc1a037797b0e526ec"></a>
typedef boost::shared_ptr&lt; const <a class="el" href="classpcl_1_1tracking_1_1_point_coherence.html">PointCoherence</a>&lt; PointInT &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>ConstPtr</b></td></tr>
<tr class="separator:a6047c87547f5eccc1a037797b0e526ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:aee2bec3b03c521c37e00b41bfd132709"><td class="memItemLeft" align="right" valign="top"><a id="aee2bec3b03c521c37e00b41bfd132709"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1tracking_1_1_point_coherence.html#aee2bec3b03c521c37e00b41bfd132709">PointCoherence</a> ()</td></tr>
<tr class="memdesc:aee2bec3b03c521c37e00b41bfd132709"><td class="mdescLeft">&#160;</td><td class="mdescRight">empty constructor <br /></td></tr>
<tr class="separator:aee2bec3b03c521c37e00b41bfd132709"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70db425671ce0ddb22b09ff872e5512b"><td class="memItemLeft" align="right" valign="top"><a id="a70db425671ce0ddb22b09ff872e5512b"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1tracking_1_1_point_coherence.html#a70db425671ce0ddb22b09ff872e5512b">~PointCoherence</a> ()</td></tr>
<tr class="memdesc:a70db425671ce0ddb22b09ff872e5512b"><td class="mdescLeft">&#160;</td><td class="mdescRight">empty distructor <br /></td></tr>
<tr class="separator:a70db425671ce0ddb22b09ff872e5512b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ce3cbddfda079fd01b07b7795b9baf4"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1tracking_1_1_point_coherence.html#a3ce3cbddfda079fd01b07b7795b9baf4">compute</a> (PointInT &amp;source, PointInT &amp;target)</td></tr>
<tr class="memdesc:a3ce3cbddfda079fd01b07b7795b9baf4"><td class="mdescLeft">&#160;</td><td class="mdescRight">compute coherence from the source point to the target point.  <a href="classpcl_1_1tracking_1_1_point_coherence.html#a3ce3cbddfda079fd01b07b7795b9baf4">更多...</a><br /></td></tr>
<tr class="separator:a3ce3cbddfda079fd01b07b7795b9baf4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:ab9ba7c2aa35b058c050c531877e7dbb2"><td class="memItemLeft" align="right" valign="top">virtual double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1tracking_1_1_point_coherence.html#ab9ba7c2aa35b058c050c531877e7dbb2">computeCoherence</a> (PointInT &amp;source, PointInT &amp;target)=0</td></tr>
<tr class="memdesc:ab9ba7c2aa35b058c050c531877e7dbb2"><td class="mdescLeft">&#160;</td><td class="mdescRight">abstract method to calculate coherence.  <a href="classpcl_1_1tracking_1_1_point_coherence.html#ab9ba7c2aa35b058c050c531877e7dbb2">更多...</a><br /></td></tr>
<tr class="separator:ab9ba7c2aa35b058c050c531877e7dbb2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f88b097b07d6b2a3ad61a75c05802e3"><td class="memItemLeft" align="right" valign="top"><a id="a2f88b097b07d6b2a3ad61a75c05802e3"></a>
const std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1tracking_1_1_point_coherence.html#a2f88b097b07d6b2a3ad61a75c05802e3">getClassName</a> () const</td></tr>
<tr class="memdesc:a2f88b097b07d6b2a3ad61a75c05802e3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a string representation of the name of this class. <br /></td></tr>
<tr class="separator:a2f88b097b07d6b2a3ad61a75c05802e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected 属性</h2></td></tr>
<tr class="memitem:a02d4790985714fafdfa90bc9071fba9f"><td class="memItemLeft" align="right" valign="top"><a id="a02d4790985714fafdfa90bc9071fba9f"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1tracking_1_1_point_coherence.html#a02d4790985714fafdfa90bc9071fba9f">coherence_name_</a></td></tr>
<tr class="memdesc:a02d4790985714fafdfa90bc9071fba9f"><td class="mdescLeft">&#160;</td><td class="mdescRight">The coherence name. <br /></td></tr>
<tr class="separator:a02d4790985714fafdfa90bc9071fba9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><h3>template&lt;typename PointInT&gt;<br />
class pcl::tracking::PointCoherence&lt; PointInT &gt;</h3>

<p><b><a class="el" href="classpcl_1_1tracking_1_1_point_coherence.html" title="PointCoherence is a base class to compute coherence between the two points.">PointCoherence</a></b> is a base class to compute coherence between the two points. </p>
<dl class="section author"><dt>作者</dt><dd>Ryohei Ueda </dd></dl>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a3ce3cbddfda079fd01b07b7795b9baf4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3ce3cbddfda079fd01b07b7795b9baf4">&#9670;&nbsp;</a></span>compute()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointInT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="classpcl_1_1tracking_1_1_point_coherence.html">pcl::tracking::PointCoherence</a>&lt; PointInT &gt;::compute </td>
          <td>(</td>
          <td class="paramtype">PointInT &amp;&#160;</td>
          <td class="paramname"><em>source</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">PointInT &amp;&#160;</td>
          <td class="paramname"><em>target</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>compute coherence from the source point to the target point. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">source</td><td>instance of source point. </td></tr>
    <tr><td class="paramname">target</td><td>instance of target point. </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;    {</div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;      <span class="keywordflow">return</span> <a class="code" href="classpcl_1_1tracking_1_1_point_coherence.html#ab9ba7c2aa35b058c050c531877e7dbb2">computeCoherence</a> (source, target);</div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;    }</div>
<div class="ttc" id="aclasspcl_1_1tracking_1_1_point_coherence_html_ab9ba7c2aa35b058c050c531877e7dbb2"><div class="ttname"><a href="classpcl_1_1tracking_1_1_point_coherence.html#ab9ba7c2aa35b058c050c531877e7dbb2">pcl::tracking::PointCoherence::computeCoherence</a></div><div class="ttdeci">virtual double computeCoherence(PointInT &amp;source, PointInT &amp;target)=0</div><div class="ttdoc">abstract method to calculate coherence.</div></div>
</div><!-- fragment -->
</div>
</div>
<a id="ab9ba7c2aa35b058c050c531877e7dbb2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab9ba7c2aa35b058c050c531877e7dbb2">&#9670;&nbsp;</a></span>computeCoherence()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointInT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual double <a class="el" href="classpcl_1_1tracking_1_1_point_coherence.html">pcl::tracking::PointCoherence</a>&lt; PointInT &gt;::computeCoherence </td>
          <td>(</td>
          <td class="paramtype">PointInT &amp;&#160;</td>
          <td class="paramname"><em>source</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">PointInT &amp;&#160;</td>
          <td class="paramname"><em>target</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>abstract method to calculate coherence. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">source</td><td>instance of source point. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">target</td><td>instance of target point. </td></tr>
  </table>
  </dd>
</dl>

<p>在 <a class="el" href="classpcl_1_1tracking_1_1_normal_coherence.html#a526610a38064069b55797383f4b63243">pcl::tracking::NormalCoherence&lt; PointInT &gt;</a>, <a class="el" href="classpcl_1_1tracking_1_1_h_s_v_color_coherence.html#aa3144d7fabca8fbe6b696c8456d14e7a">pcl::tracking::HSVColorCoherence&lt; PointInT &gt;</a> , 以及 <a class="el" href="classpcl_1_1tracking_1_1_distance_coherence.html#af16b2657ab5a345e9586ffac8e40a327">pcl::tracking::DistanceCoherence&lt; PointInT &gt;</a> 内被实现.</p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>tracking/include/pcl/tracking/<a class="el" href="coherence_8h_source.html">coherence.h</a></li>
<li>tracking/include/pcl/tracking/impl/<a class="el" href="coherence_8hpp_source.html">coherence.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>pcl</b></li><li class="navelem"><b>tracking</b></li><li class="navelem"><a class="el" href="classpcl_1_1tracking_1_1_point_coherence.html">PointCoherence</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
